package com.woniuxy.project115.kaer.tenant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuH
 * @since 2025年02月20日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("settled_application")
public class SettledApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "application_id", type = IdType.AUTO)
    private Integer applicationId;

    /**
     * 提交时间
     */
    @TableField("commit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime commitTime;

    /**
     * 商家信息表id
     */
    @TableField("tenant_info_id")
    private Integer tenantInfoId;

    /**
     * 提交人
     */
    @TableField("commit_name")
    private String commitName;

    /**
     * 提交人联系电话
     */
    @TableField("commit_phone")
    private String commitPhone;

    /**
     * 店铺名
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 店铺logo
     */
    @TableField("store_logo")
    private String storeLogo;

    /**
     * 准许经营范围
     */
    @TableField("business_scope")
    private String businessScope;

    /**
     * 地址
     */
    @TableField("address")
    private String address;

    /**
     * 经度
     */
    @TableField("longitude")
    private Double longitude;

    /**
     * 纬度
     */
    @TableField("latitude")
    private Double latitude;

    /**
     * 备注说明
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 状态 0：待审核 1：已通过 2：已驳回
     */
    @TableField("state")
    private Integer state;

    /**
     * 审核人
     */
    @TableField("reviewer")
    private String reviewer;

    /**
     * 审核时间
     */
    @TableField("review_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime reviewTime;

    /**
     * 驳回原因
     */
    @TableField("reject_reason")
    private String rejectReason;


}
